import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';

class ShopSearchBar extends StatelessWidget {
  const ShopSearchBar({super.key});

  @override
  Widget build(BuildContext context) {
    return Container(
        height: 60,
        padding: const EdgeInsets.all(10),
        decoration: const BoxDecoration(color: Colors.grey),
        child: Container(
          height: 50,
          padding: const EdgeInsets.all(10),
          decoration: BoxDecoration(
              color: Colors.white, borderRadius: BorderRadius.circular(30)),
          child: const Row(
            children: [
              Icon(Icons.search),
              SizedBox(
                width: 10,
              ),
              Text('搜索你要购买的商品')
            ],
          ),
        ));
  }
}
